package com.soushin.mvpdemo.module.rxjava;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import com.soushin.mvpdemo.R;
import com.soushin.mvpdemo.model.OperatorModel;

/**
 * Created by SouShin on 2018/11/161521.
 */
public class RxjavaAdapter extends BaseQuickAdapter<OperatorModel, BaseViewHolder> {
    public RxjavaAdapter() {
        super(R.layout.item_rxjava);
    }

    @Override
    protected void convert(BaseViewHolder helper, OperatorModel item) {
        helper.setText(R.id.tv_title, item.title)
                .setText(R.id.tv_des, item.des);
    }
}
